package com.sunwoda.springbootredis.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: springbootredis
 * @description:
 * @author: SGR
 * @create: 2021-09-23 09:49
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UserDto implements Serializable {

    private Long id;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", orderNum = "0", databaseFormat = "yyyy-MM-dd HH:mm:ss")
    private String careatAt;
    /**
     * 创建人
     */
    @Excel(name = "创建人", orderNum = "1")
    private Long createBy;
    /**
     * 更行时间
     */
    @Excel(name = "更新时间", orderNum = "2", databaseFormat = "yyyy-MM-dd HH:mm:ss")
    private String updateAt;
    /**
     * 更新人
     */
    @Excel(name = "更新人", orderNum = "3")
    private Long updateBy;
    /**
     * 用户名
     */
    @Excel(name = "姓名", orderNum = "4")
    private String name;
    /**
     * 密码
     */
    @Excel(name="密码", orderNum = "5")
    private String password;
    /**
     * 租户
     */
    @Excel(name = "租户", orderNum = "6")
    private Long tenantId;
    /**
     * 身份证号
     */
    @Excel(name = "身份证", orderNum = "7")
    private String idCard;
    /**
     * 性别
     */
    @Excel(name = "性别", orderNum = "8")
    private String sex;
    /**
     * 年龄
     */
    @Excel(name = "年龄", orderNum = "9")
    private Integer age;

    /**
     * 省
     */
    @Excel(name = "省", orderNum = "10")
    private String province;
    /**
     * 县
     */
    @Excel(name = "县", orderNum = "11")
    private String county;
    /**
     * 市
     */
    @Excel(name = "市", orderNum = "12")
    private String city;
    /**
     * 详细地址
     */
    @Excel(name = "详细地址", orderNum = "13")
    private String address;
}
